package dadonas.xmlpersistence;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
*
* Used for java.lang.Integer type.
* 
* @author dadonas
* 
* @since 2011
* 
*/

@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface XMLPersistenceInteger {
	
	/**
	 * The number format to apply to the property value.<br />
	 * For example, if the number is 25 and intFormat = "0000", the result is 0025. 
	 * 
	 */
	public String intFormat() default "";
	
}
